// EditSHSelFromGMSCommand.cpp: implementation of the EditSHSelFromGMSCommand class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "EditSHSelFromGMSCommand.h"
#include "SupportHangerSelector.h"
#include "DlgSupport.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

EditSHSelFromGMSCommand::EditSHSelFromGMSCommand()
{

}

EditSHSelFromGMSCommand::~EditSHSelFromGMSCommand()
{

}

BOOL EditSHSelFromGMSCommand::Execute()
{
	SupportHangerSelector Selector;
	SupportHanger* pSH = Selector.Select();
	if(pSH == NULL)
		return TRUE;
	
	return EditSH(pSH);
}